XAMPP - Unable to serve files larger than ~30MB [on hold]
Posted
by
Sparx401
on Pro Webmasters
See other posts from Pro Webmasters
or by Sparx401
Published on 2013-02-04T05:53:30Z
Indexed on
2013/10/18
22:18 UTC
Read the original article
Hit count: 438
I'm developing a site locally with XAMPP on Windows 7, and as far as media is concerned, I'm unable to play media files that are larger than 30MB or so. Both video and audio files (MP4 and MP3 respectively) generate this error in Chrome (and show similar errors in other browsers such as IE9 and Opera):
No data received
Unable to load the webpage because the server sent no data.
Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.
It seems that the exact number of MB somewhat varies between browsers though. One video in question is 34MB and actually plays in Opera and IE9, but gives the aforementioned error in Chrome.
I've checked to make sure the file paths were typed correctly and ensured that the directive for .htaccess is there to serve MP4s: AddType video/mp4 mp4
Also, I have these directives set as well in the same .htaccess file:
php_value upload_max_filesize "80M"
php_value post_max_size "80M"
php_value max_input_time 60
php_value max_execution_time 60
And memory_limit
is set in php.ini as "128M" so I'm left wondering: what is causing my files to not play, and what, if any, directives I have to change on the server-side? Perhaps something to do with limitations with the GET method (the method I'm seeing on Chrome's network tab among other header request/response info)?
© Pro Webmasters or respective owner